<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<!-- saved from url=(0043)http://202.116.174.108:8080/opac/search.php -->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>图书检索系统</title>
<link type="text/css" rel="stylesheet"
	href="../resources/query/style.css">
<link type="text/css" rel="stylesheet"
	href="../resources/query/mylib.css">
<link type="text/css" rel="stylesheet"
	href="../resources/query/jquery-ui-1.8.13.custom.css">
<script type="text/javascript"
	src="../resources/query/jquery.1.7.1.min.js.下载"></script>
<script type="text/javascript"
	src="../resources/query/jquery-ui-1.8.13.custom.min.js.下载"></script>
<script type="text/javascript"
	src="../resources/query/highlighter.js.下载"></script>
</head>
<body>
	<div id="header_opac">
		<h1 class="header_opac_img">
			<div class="header_opac_logo">
				图书检索系统<br>
				<p>Online Book Retrieval System</p>

			</div>
		</h1>
		<div class="header_right header_right_top">
			<p class="header_right_font"></p>
			<p style="margin-top: 60px;" class="header_right_font">
				<font color="blue"> <c:if test="${not empty user.name}">

						<font color="blue">${user.name }</font>

					</c:if> <c:if test="${empty user.name}">


						<font color="blue"><a href="/jsxt/user/tologin.action">登录</a></font>

					</c:if>



				</font> <strong><a href="../user/logout.action"
					style="color: #ff0000;">注销</a></strong>
			</p>
		</div>
	</div>
	<div id="menubar">
		<ul id="menu_top">
			<li><a class="menu_top_on" style="color: #6C5B23;" href="#"
				target="_self">书目检索</a></li>
			<li><c:if test="${not empty user.name}">

					<a href="../books/mylibrary.action" target="_self">我的图书馆</a>

				</c:if> <c:if test="${empty user.name}">


					<a href="../user/tologin.action" target="_self">我的图书馆</a>

				</c:if></li>
			<div class="clear"></div>
		</ul>
	</div>
	<div id="submenu">

		<div class="clear"></div>
	</div>

	<div style="width: 1360px; height: 410px; margin: 0 5px 0 0"
		id="mainbox">
		<div id="container">
			<fieldset>
				<legend>
					<img src="../resources/query/s_f_1.jpg" width="190" height="18">
				</legend>
				<div style="text-indent: 2em; margin: 4px">
					<form action="../books/toquery.action" method="get" name="f"
						onsubmit="return chkForm(this)" id="f">
						<div style="margin: 17px 0 20px 300px" class="search_bgimg">
							<select class="option" name="strSearchType" size="1"
								style="width: 100px;">
								<option value="bookname">书&nbsp;&nbsp;名</option>
								<option value="author">作者</option>
								<option value="isbn">ISBN</option>
								<option value="callno">索书号</option>
								<option value="publisher">出版社</option>
							</select> <input type="hidden" id="historyCount" name="historyCount"
								value="1"> <input style="width: 34%;" type="text"
								size="45" name="strText" id="strText" value=""> <input
								type="submit" class="btn btn-primary" value=" 检 索 " size="30">

							<br>

							<div id="child1" class="childl" style="display: none;">
								<p>
									<strong>显示方式：</strong><select class="option" name="displaypg"
										size="1" style="width: 100px;">
										<option value="20">20条</option>
										<option value="30">30条</option>
										<option value="50">50条</option>
										<option value="100">100条</option>
									</select> <input type="radio" name="showmode" value="list"
										checked="checked"> 详细显示 <input type="radio"
										name="showmode" value="table"> 表格显示
								</p>
								<p>
									<strong>排序方式：</strong><select class="option" name="sort"
										size="1" style="width: 100px;">
										<option value="CATA_DATE">入藏日期</option>
										<option value="M_TITLE">题&nbsp;&nbsp;名</option>
										<option value="M_AUTHOR">责任者</option>
										<option value="M_CALL_NO">索书号</option>
										<option value="M_PUBLISHER">出版社</option>
										<option value="M_PUB_YEAR">出版日期</option>
									</select> <input type="radio" name="orderby" value="asc"> 升序排列 <input
										type="radio" name="orderby" value="desc" checked="checked">
									降序排列
								</p>
								<p>
									<strong>检索范围：</strong><select class="option" id="location"
										name="location" size="1" style="width: 100px;">
										<option value="ALL">所有馆藏地</option>
										<option value="FZK  ">样本书库</option>
										<option value="GPW  ">光盘屋</option>
										<option value="MJSK ">密集书库</option>
										<option value="RWK  ">华农人文库</option>
										<option value="SKK  ">社会科学书库</option>
										<option value="TCS  ">特藏室</option>
										<option value="WGK  ">外文过刊库</option>
										<option value="WWK  ">外文书库</option>
										<option value="ZGK  ">中文过刊库</option>
										<option value="ZKK  ">自然科学书库</option>
										<option value="ZSK  ">赠书书库</option>
										<option value="DKXY ">动科学院资料室</option>
										<option value="DYXY ">兽医学院资料室</option>
										<option value="FX   ">附属小学资料室</option>
										<option value="GCXY ">工程学院资料室</option>
										<option value="GGXY ">公共管理学院资料室</option>
										<option value="JMXY ">经管学院资料室</option>
										<option value="LIXY ">理学院资料室</option>
										<option value="LXY  ">林学院资料室</option>
										<option value="NSYJ ">农史研究室</option>
										<option value="NXY  ">农学院资料室</option>
										<option value="RWXY ">人文学院资料室</option>
										<option value="SZB  ">思政部资料室</option>
										<option value="XXXY ">信息学院资料室</option>
										<option value="YSXY ">艺术学院资料室</option>
										<option value="YYXY ">园艺学院资料室</option>
										<option value="DQLT ">东区流通书库</option>
										<option value="YJLT ">跃进南流通书库</option>
									</select>
								</p>
							</div>

						</div>
					</form>
				</div>
			</fieldset>
		</div>

		<script src="../resources/query/swfobject.js.下载"></script>

		<div class="clear"></div>
	</div>

	<script type="text/javascript">
<!--
	var bShow = false;
	
	function input_me(str){
		$("#strText").val(str);
		$("#historyCount").val("0"); 
		document.f.submit(); 
	}

	function showMore(){
		bShow = !bShow;
		if(bShow){
			$("#btnShowMore").val("取消限制");
			$("#location").val('ALL');
		}else{
			$("#btnShowMore").val("更多限制");
		}
		$("#child1").toggle(bShow);
	}
	
 	$(function(){
		$("#topten").load("ajax_topten.php");
		$("#top_lend_shelf").load("ajax_top_lend_shelf.php");
		$.get("ajax_topkeywords.php",function(taglist){
			var attributes = {'allowScriptAccess':'always','wmode':'transparent','id':'swf'};
		    var flashvars = { 'mode' : 'tags', 'distr' : 'false', 'tcolor' : '0x00ff00', 'hcolor' : '0x000000',  'speed' : 50 };
		    flashvars["tagcloud"] = "<tags>" + taglist + "</tags>";
		    swfobject.embedSWF("../tpl/opac/tagcloud.swf", "swf", 250, 200, '10', '', flashvars, {}, attributes);
		});
		
		$("#child1").hide();
		$("#location").val('ALL');
		
	});
 	 
    function chkForm(theForm){
      if (theForm.strText.value=="") {
        alert("［查询内容］不能为空");
        theForm.strText.focus();
        return (false);
      }
    }
    
</script>

</body>
</html>